<h1> Notification </h1>
<?php 
    if($blnotification){
        echo '<h2>Bill of Lading</h2>';
        echo '<ul>';
        foreach($blnotification as $rows){
            echo '<li>';
            echo $rows->Name." ".$rows->Action .$rows->LocationFile ." with status " .$rows->SentStatus ." on " .$rows->SentDate;
            echo ' ';echo '<a target="_blank" href='.base_url().'shippingline/viewdocument/BL/'.$rows->idBillOfLading.'>View</a>';//echo ' ';echo '<a href='.base_url().'>Mark as read</a>';
            echo '</li><br/>';
        }
        echo '</ul>';
    }
    if($finotification){
        echo '<h2>Freight Invoice</h2>';
        echo '<ul>';
        foreach($finotification as $rows){
            echo '<li>';
            echo $rows->Name." ".$rows->Action .' ' .$rows->LocationFile ." with status " .$rows->RepplyStatus ." on " .$rows->RepplyDate;
            echo ' ';echo '<a target="_blank" href='.base_url().'shippingline/viewdocument/FI/'.$rows->idFreightInvoice.'>View</a>';//echo ' ';echo '<a href='.base_url().'>Mark as read</a>';
            echo '</li><br/>';
        }
        echo '</ul>';
    }
    if($donotification){
        echo '<h2>Delivery Order</h2>';
        echo '<ul>';
        foreach($donotification as $rows){
            echo '<li>';
            echo $rows->Name." ".$rows->Action .' ' .$rows->LocationFile ." with status " .$rows->RepplyStatus ." on " .$rows->RepplyDate;
            echo ' ';echo '<a target="_blank" href='.base_url().'shippingline/viewdocument/DO/'.$rows->idDeliveryOrder.'>View</a>';//echo ' ';echo '<a href='.base_url().'>Mark as read</a>';
            echo '</li><br/>';
        }
        echo '</ul>';
    }
?>
